﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Event - Event Helpers</title>
    <script src="script/jquery-1.3.2.js" type="text/javascript"></script>
    <script language="javascript" type="text/javascript">
        $(document).ready(function() {
            $("select").change(function() {
                var str = "";
                $("select option:selected").each(function() {
                    str += $(this).text() + " ";
                });
                $("div").text(str);
            })
            .change(); 
        });
    </script>
</head>
<body>
    <select name="sweets" multiple="multiple"> 
        <option>Chocolate</option> 
        <option selected="selected">Candy</option> 
        <option>Taffy</option> 
        <option selected="selected">Carmel</option> 
        <option>Fudge</option> 
        <option>Cookie</option> 
    </select> 
    <div></div>
</body>
</html>
